package com.thread.sychronized;

/**
 * @author wangyingjie
 * @date
 * @remark
 */
public class AccountDemo_1 {
    public static void main(String[] args) {
        Account account = new Account();
        account.setFlag(false);
        account.setBalance(0.00);
        account.setAccountNo("111111");
        new AccountDepositThread(account,100).start();
        new AccountDrawThread(account,100.00).start();
    }
}
